{assign var='level_span' value=str_repeat($span, $level)}
{foreach from=$parent->children() key=nn item=n}
<tr>
	<td>{$level_span}{$nn}</td>
	<td></td>
</tr>

{foreach from=$n->attributes() key=na item=a}
<tr>
	<td>{$level_span}{$span}{$na}</td>
	<td>{$a}</td>
</tr>
{/foreach}

{if count($n->children()) !== 0}
{include file='configAdmin.rekursive.tpl' parent=$n level=$level+1}
{/if}
{/foreach}